package com.sz.biz.trade.goods.dto;

import com.sz.biz.common.customer.dto.CusCustomerTradeDto;

import java.util.List;

/**
 * Function: 商品Dto <br>
 * Author: jifeixing <br>
 * Date: 2017-07-12 14:22:00
 */
public class GoodsListDto {

    private Integer id;

    /**
     * 业务类型
     */
    private String businessType;
    /**
     * 商品类别
     */
    private String goodsType;
    /**
     * 品名
     */
    private String goodsName;
    /**
     * 编码
     */
    private String goodsCode;
    /**
     * 供应商Id
     */
    private String supplierId;
    /**
     * 供应商
     */
    private String supplier;
    /**
     *  供应商类型： 1： 供应商；2： 平台公司
     */
    private Integer supplierType;
    /**
     * 采购限制: 0: 全部企业； 1： 指定企业
     */
    private Integer purchaserLimit;
    /**
     * 采购企业
     */
    private List<CusCustomerTradeDto> purchaserCustomer;
    /**
     * 项目限制: 0: 全部项目； 1： 指定项目
     */
    private Integer projectLimit;
    /**
     * 项目名称
     */
    private List<ProjectGoodsDto> project;
    /**
     * 启用状态： false: 已停用/true: 已启动
     */
    private Boolean isEnabled;

    private String image;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public Integer getPurchaserLimit() {
        return purchaserLimit;
    }

    public void setPurchaserLimit(Integer purchaserLimit) {
        this.purchaserLimit = purchaserLimit;
    }

    public List<CusCustomerTradeDto> getPurchaserCustomer() {
        return purchaserCustomer;
    }

    public void setPurchaserCustomer(List<CusCustomerTradeDto> purchaserCustomer) {
        this.purchaserCustomer = purchaserCustomer;
    }

    public Integer getProjectLimit() {
        return projectLimit;
    }

    public void setProjectLimit(Integer projectLimit) {
        this.projectLimit = projectLimit;
    }

    public List<ProjectGoodsDto> getProject() {
        return project;
    }

    public void setProject(List<ProjectGoodsDto> project) {
        this.project = project;
    }

    public Boolean getEnabled() {
        return isEnabled;
    }

    public void setEnabled(Boolean enabled) {
        isEnabled = enabled;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getSupplierType() {
        return supplierType;
    }

    public void setSupplierType(Integer supplierType) {
        this.supplierType = supplierType;
    }
}